Problem:
How do I select the best set of resistors for a voltage divider?
Solution:
Use the Javascript calculator below:
Voltage Divider / Non-Inverting Attenuator
NOTES
Calculator version 3, 5-2-2003.
Javascript compatibility: IE6+, Netscape 6+, Mozilla 1.3+, Opera 7+.
Different sets of resistor values may lead to the same identical lowest error. Up to 10 sets of resistors may be presented, or as few as one. More than 10 sets of resistors may produce the same lowest error, but only the first 10 will be presented.
All will produce identical lowest error when used.
Quantization errors in resistor values are inherent to Javascript. Instead of using advanced Javascript functions that would make the script incompatible with older browsers, I elected
to leave the quantization errors. Results should be interpreted to the nearest standard value when a quantization error appears.